package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import cn.e4j.core.util.DateUtils;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAX_T")
public class GwaxT extends PO<GwaxT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWAXENT", type = IdType.INPUT)
    private String GWAXENT;
    private String GWAX001;
    private String GWAX002;
    private String GWAX003;
    private String GWAX004;
    private String GWAX005;
    private String GWAX006;
    private String GWAX007;
    private String GWAX008;
    private String GWAX009;
    private String GWAX010;
    private String GWAX011;
    private String GWAX012;
    private String GWAX013;
    private String GWAX014;
    private String GWAX015;
    private String GWAX016;
    private String GWAX017;
    private String GWAX018;
    private String GWAX019;
    private String GWAX020;
    private String GWAXACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWAXUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWAXGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWAXMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWAXTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = DateUtils.PATTERN_yyyy_MM_dd)
    private LocalDate GWAXDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWAXORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWAXORIU;
    private LocalDateTime GWAXTRANDATE;


    @Override
    protected Serializable pkVal() {
        return this.GWAXENT;
    }

}
